Mollie\WooCommerce\Shared\GatewaySurchargeHandler A

Total Complexity 59
Dependencies 3
Dependents 2
Total lines 339
Lines of code 275
Logical lines of code 166
Comment lines 13
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
updateSurchargeCheckoutBlock()
A
41 7 60
add_engraving_fees()
A
50 9 29
updateSurchargeOrderPay()
A
48 7 34
addSurchargeFeeProductPage()
S
56 5 18
canProcessGateway()
S
60 5 14
chosenGateway()
S
61 4 13
canProcessOrder()
S
62 4 12
enqueueSurchargeScript()
S
60 3 14
orderRemoveFee()
S
61 3 12
cartRemoveFee()
S
61 3 12
surchargeActions()
S
56 1 21
isMollieGateway()
S
77 2 3
gatewaySettings()
S
67 2 8
__construct()
S
72 1 5
orderAddFee()
S
66 1 9
setHiddenOrderId()
S
76 1 5
surchargeFeeOption()
S
73 1 6